package com.wait.onlinepicturecloud;

import org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

//TODO,实现分库分表要把公共图库的空间id改为0.对图片改动较大，以后需要再改
@SpringBootApplication(exclude = {ShardingSphereAutoConfiguration.class})
@MapperScan("com.wait.onlinepicturecloud.infrastructure.mapper") /*mybatis扫描mapper*/
@EnableAspectJAutoProxy(exposeProxy = true) /*开启aop代理*/
@EnableAsync


public class OnlinePictureApplication {


    public static void main(String[] args) {
        SpringApplication.run(OnlinePictureApplication.class, args);
    }

}
